package com.lavegue.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Set;

/**
 * Msg entity. @author MyEclipse Persistence Tools
 */

public class Msg implements java.io.Serializable {

	// Fields

	private Integer id;
	private Date sendTime;
	private String title;
	private String recever;
	private UserInfo sender;
	private BisType type;
	private BisGroup group;
	private ManageMsg manageMsg;
	private BigDecimal price;
	private TopUp topUp;
	private List<MsgDetail> msgDetails = new ArrayList<MsgDetail>(0);
	// Constructors

	public TopUp getTopUp() {
		return topUp;
	}

	public void setTopUp(TopUp topUp) {
		this.topUp = topUp;
	}

	/** default constructor */
	public Msg() {
	}

	public Integer getId() {
		return this.id;
	}

	public List<MsgDetail> getMsgDetails() {
		return msgDetails;
	}


	public void setMsgDetails(List<MsgDetail> msgDetails) {
		this.msgDetails = msgDetails;
	}


	public void setId(Integer id) {
		this.id = id;
	}
	

	public Date getSendTime() {
		return sendTime;
	}


	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}


	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getRecever() {
		return this.recever;
	}

	public void setRecever(String recever) {
		this.recever = recever;
	}


	public UserInfo getSender() {
		return sender;
	}


	public void setSender(UserInfo sender) {
		this.sender = sender;
	}

	public BisType getType() {
		return type;
	}


	public void setType(BisType type) {
		this.type = type;
	}


	public BisGroup getGroup() {
		return group;
	}


	public void setGroup(BisGroup group) {
		this.group = group;
	}


	public ManageMsg getManageMsg() {
		return manageMsg;
	}


	public void setManageMsg(ManageMsg manageMsg) {
		this.manageMsg = manageMsg;
	}


	public BigDecimal getPrice() {
		return price;
	}


	public void setPrice(BigDecimal price) {
		this.price = price;
	}

}